package com.cjw.pojo.dto.livesquare;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : cjw
 * @date: : 2022/2/19 15:26
 * @description : 协同算法得分类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlanCFDTO implements Comparable<PlanCFDTO>{
    private Long planId;

    private Integer score;

    @Override
    public int compareTo(PlanCFDTO o) {
        return score > o.score ? -1 : 1;
    }
}
